export {}

// 类型断言
const nums = [1,2,3,5]

const res = nums.find(i=>i===2)

// 不是转换是断言
const num1 = res as number

const num2 =  <number> res

const square = num2 ** 2
